package com.powernode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.powernode.domain.SysMenu;

import java.util.List;
import java.util.Set;

public interface SysMenuService extends IService<SysMenu> {


    Set<SysMenu> queryUserMenuListByUserId(Long loginUserId);

    /**
     * 查询系统所有权限集合
     *
     * @return
     */
    List<SysMenu> queryAllSysMenuList();

    //新增权限
    Boolean saveSysMenu(SysMenu sysMenu);

    //修改菜单权限信息
    Boolean modifySysMenu(SysMenu sysMenu);

    //删除菜单权限
    Boolean removeSysMenuById(Long menuId);
}
